package com.elangzhi.ssm.model;

import com.elangzhi.ssm.model.base.BaseModel;

import java.util.Date;
import java.util.List;

/**
 * 说说
 */
public class Talk extends BaseModel{
    private Long id;

    private Long userId;

    private Date setTime;

    private String province;

    private String city;

    private String district;

    private String address;

    private String intro;

    private String content;

    private String userName;
    private List<Image> bannerList;
    private User user;
    private List<Record> zanList;
    private List<Record> recordList;
    private Long myId;

    public Talk(Long id, Long userId, Date setTime, String province, String city, String district, String address, String intro, String content) {
        this.id = id;
        this.userId = userId;
        this.setTime = setTime;
        this.province = province;
        this.city = city;
        this.district = district;
        this.address = address;
        this.intro = intro;
        this.content = content;
    }

    public Talk() {
        super();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getMyId() {
        return myId;
    }

    public void setMyId(Long myId) {
        this.myId = myId;
    }

    public List<Record> getZanList() {
        return zanList;
    }

    public void setZanList(List<Record> zanList) {
        this.zanList = zanList;
    }

    public List<Record> getRecordList() {
        return recordList;
    }

    public void setRecordList(List<Record> recordList) {
        this.recordList = recordList;
    }

    public List<Image> getBannerList() {
        return bannerList;
    }

    public void setBannerList(List<Image> bannerList) {
        this.bannerList = bannerList;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getSetTime() {
        return setTime;
    }

    public void setSetTime(Date setTime) {
        this.setTime = setTime;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}